package com.mq.rocketmq.ordermsg;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: xiaoqiang
 * @Description:
 * @Date: 2024/7/2
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

public class Order implements Serializable {

    private String orderId;
    private String orderName;
    private String orderStatus;

    public Order(String orderId, String orderStatus) {
        this.orderId = orderId;
        this.orderStatus = orderStatus;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId='" + orderId + '\'' +
                ", orderName='" + orderName + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                '}';
    }
}
